package org.ectar.papi.data
{
	import mx.collections.ArrayCollection;
	
	/**
	 * Object represents albun instance of PicasaFlex API
	 * @author Mykhaylo Lytvynyuk, 2008
	 */
	public class GAlbum
	{
		
		public function GAlbum():void {
		}
		
		[Bindable] public var icon:String;
		
		 /** Unique URL which leads to the photo feed **/
		[Bindable] public var id:String;
		
		/** Date when album was published */
		[Bindable] public var published:String;
		
		/** Date and time was updates */
		[Bindable] public var updated:String;
		
		/** Category the album */	
		[Bindable] public var category:Array; // <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/photos/2007#photo"/>
		
		/**Album's title */
		[Bindable] public var title:String;
		
		/** Album's subtitle */
		[Bindable] public var subtitle:String;
		
		/** unused, see this.media.description */
		[Bindable] public var summary:String; 
		
		/** Copyright string */
		[Bindable] public var rights:String;
		
		/** An arrays of Picture related links */
		[Bindable] public var link:Object;	
		
		/** Name of the author */
		[Bindable] public var authorName:String;
		
		/** URL of the author */
		[Bindable] public var authorUri:String;
		
		/** Reference contains gphoto: section */
		[Bindable] public var gphoto:GPhoto = new GPhoto();	
		
		/** Class contains Media infomation */
		[Bindable] public var media:GMedia = new GMedia();
		
		/** Image geo data in GeoRSS-plus-GML format */
		[Bindable] public var georss:GEORss = new GEORss();
		
		/** A list of phootos whi belongs to the Album */
		[Bindable] public var photos:ArrayCollection;
	}
}